<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/common.jsp"%>
<div class="pageContent">
	<form action="${ctxPath }/task/taskJob/add" class="pageForm required-validate" 
        onsubmit="return validateCallback(this, dialogAjaxDone);" method="post" >
        <input type="hidden" name="navTabId" value="rwgl">
        <input type="hidden" name="callbackType" value="closeCurrent">
        <input type="hidden" name="forwardUrl" value="">
        <div class="tabsContent pageFormContent"  layoutH="56">
			<div>
				<fieldset>
					<legend>任务信息</legend>
					<dl>
						<dt>任务名称：</dt>
						<dd>
							<input type="text" name="jobName" class="required"  maxlength="10" size="25" />
						</dd>
					</dl>
					<dl>
						<dt>任务分组：</dt>
						<dd>
							<input type="text" name="jobGroup" class="required" maxlength="10" size="25" />
						</dd>
					</dl>
                    <dl>
						<dt>cron表达式：</dt>
						<dd>
							<input type="text" name="cron" class="required"  size="25" maxlength="100" />
						</dd>
					</dl>
					<dl>
						<dt>SpringBeanID：</dt>
						<dd>
							<input type="text" name="beanId" class="required" size="25" maxlength="20" />
						</dd>
					</dl>
					<dl>
						<dt>SpringBeanClass：</dt>
						<dd>
							<input type="text" name="beanClass" class="required" size="25" maxlength="100" />
						</dd>
					</dl>
					<dl>
						<dt>调用的方法：</dt>
						<dd>
							<input type="text" name="methodName" class="required" size="25" maxlength="100" />
						</dd>
					</dl>
					<dl>
						<dt>启动状态：</dt>
						<dd>
							<select class="combox" name="jobStatus" id="combox_jobStatus">
								<option value="1" selected="selected">启动</option>
								<option value="0">不启动</option>
							</select>
						</dd>
					</dl>
					<dl>
						<dt>是否支持并发：</dt>
						<dd>
							<select class="combox" name="isConcurrent" id="combox_isConcurrent">
								<option value="1" >并发</option>
								<option value="0" selected="selected">不并发</option>
							</select>
						</dd>
					</dl>
					<dl class="nowrap">
						<dt>描述：</dt>
						<dd><textarea name="description" cols="50" rows="4"></textarea></dd>
					</dl>
				</fieldset>
			</div>
		</div>
		<div class="formBar">
			<ul style="float: left;">
				<li>
					<div class="buttonActive">
						<div class="buttonContent">
							<button type="submit">提交</button>
						</div>
					</div>
				</li>
				<li>
					<div class="button">
						<div class="buttonContent">
							<button type="button" class="close">取消</button>
						</div>
					</div>
				</li>
			</ul>
		</div>
	</form>
</div>